<template>
  <e-select-input-group v-bind="$props" v-on="$listeners" />
</template>

<script>
  import ESelectInputGroup from './SelectInputGroup'
  export default {
    componentName: 'EIdentity',
    components: {
      ESelectInputGroup
    },
    props: {
      ...ESelectInputGroup.props,
      maxlength: {
        type: Number,
        default: 30
      },
      placeholder: {
        type: String,
        default: '请输入有效证件号码'
      },
      selectOptions: {
        type: Array,
        default () {
          return [
            {
              value: 1,
              label: '身份证'
            },
            {
              value: 2,
              label: '护照'
            },
            {
              value: 3,
              label: '其他证件'
            }
          ]
        }
      },
      selectValue: {
        type: Number,
        default: 1
      }
    }
  }
</script>
